<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>简单登录注册页面</title>
	<style>
		/* 仿哔哩哔哩up主@丿Ares丶-倾城  */
		 
		@charset "utf-8";
		 
		* {
		    margin: 0;
		    top: 0;
		}
		 
		body {
		    height: 100vh;
		    background: url("../user/touxiang/background.jpg") no-repeat center center fixed;
		    background-size: cover;
		    display: flex;
		    justify-content: center;
		    align-items: center;
		}
		 
		.box {
		    width: 350px;
		    height: 350px;
		    border-top: 1px solid rgba(255,255,255,0.5);
		    border-left: 1px solid rgba(255,255,255,0.5);
		    border-bottom: 1px solid rgba(255,255,255,0.3);
		    border-right: 1px solid rgba(255,255,255,0.3);
		    backdrop-filter: blur(1px);
		    background: rgba(50, 50, 50, 0.4);
		    display: flex;
		    flex-direction: column;
		    justify-content: center;
		    align-items: center;
		    border-radius: 6px;
		}
		 
		.box > h2 {
		    color: rgba(255,255,255,0.9);
		    margin-bottom: 30px;
		}
		 
		.box .input-box {
		    display: flex;
		    flex-direction: column;
		    box-sizing: border-box;
		    margin-bottom: 10px;
		}
		 
		.box .input-box label {
		    font-size: 13px;
		    color: rgba(255,255,255,0.9);
		    margin-bottom: 5px;
		}
		 
		.box .input-box input {
		    letter-spacing: 1px;
		    font-size: 14px;
		    box-sizing: border-box;
		    width: 250px;
		    height: 35px;
		    border-radius: 5px;
		    border: 1px solid rgba(255,255,255,0.3);
		    background: rgba(50, 50, 50, 0.3);
		    outline: none;
		    padding: 0 12px;
		    color: rgba(255,255,255,0.9);
		    transition: 0.2s;
		}
		 
		/* 输入框聚焦效果 */
		.box .input-box input:focus {
		    border: 1px solid rgba(255,255,255,0.8);
		}
		 
		.box .btn-box {
		    width: 250px;
		    display: flex;
		    flex-direction: column;
		}
		 
		.box .btn-box > a {
		    outline: none;
		    display: block;
		    width: 250px;
		    text-align: end;
		    text-decoration: none;
		    font-size: 13px;
		    color: rgba(255,255,255,0.8);
		}
		 
		.box .btn-box > a:hover {
		    color: rgba(255,255,255,1);
		}
		 
		.box .btn-box > div {
		    margin-top: 10px;
		    display: flex;
		    justify-content: center;
		    align-items: center;
		}
		 
		.box .btn-box > div > button {
		    outline: none;
		    margin-top: 10px;
		    display: block;
		    font-size: 14px;
		    border-radius: 5px;
		    transition: 0.2s;
		}
		 
		.box .btn-box > div > button:nth-of-type(1) {
		    width: 120px;
		    height: 35px;
		    color: rgba(255,255,255,0.9);
		    border: 1px solid rgba(00, 96, 96, 0.7);
		    background: rgba(00, 96, 96, 0.5);
		}
		 
		.box .btn-box > div > button:nth-of-type(2) {
		    width: 120px;
		    height: 35px;
		    margin-left: 10px;
		    color: rgba(255,255,255,0.9);
		    border: 1px solid rgba(00, 96, 96, 0.7);
		    background: rgba(00, 96, 96, 0.5);
		}
		 
		.box .btn-box > div > button:hover {
		    border: 1px solid rgba(00, 96, 96);
		    background: rgba(00, 96, 96);
		}
	</style>
</head>
<body>

<div class="box">
	<form method="post" action="dologin.php" id="login-form">
		<h2>Login</h2>
		<div class="input-box">
			<label>账号</label>
			<input type="text" name="username" >
		</div>
		<div class="input-box">
			<label>密码</label>
			<input type="password" name="password">
		</div>
		<div class="btn-box">
			<div>
				<button type="submit">登录</button>
			</div>
		</div>
	</form>
</div>
</body>
</html>